package com.kyw.androidquicklib.retrofit;

import com.google.gson.JsonObject;

import java.util.List;
import java.util.Map;

import okhttp3.MultipartBody;
import okhttp3.RequestBody;
import okhttp3.ResponseBody;
import retrofit2.Call;
import retrofit2.Response;
import retrofit2.http.Body;
import retrofit2.http.Field;
import retrofit2.http.FieldMap;
import retrofit2.http.FormUrlEncoded;
import retrofit2.http.GET;
import retrofit2.http.HTTP;
import retrofit2.http.Headers;
import retrofit2.http.Multipart;
import retrofit2.http.POST;
import retrofit2.http.Part;
import retrofit2.http.PartMap;
import retrofit2.http.Path;
import retrofit2.http.Query;
import retrofit2.http.QueryMap;
import retrofit2.http.Streaming;
import retrofit2.http.Url;

/**
 * Created by wjy.
 * Date: 2019/11/22
 * Time: 11:42
 * Describe: 定义接口：管理Retrofit的各种数据请求(post、get)，包含请求api、请求参数
 */
public interface ApiService {

    String BASE_URL = "http://192.168.0.107:8080";

    @GET("/userInfo")
    Call<ResponseBody> getUserInfo();

}
